package com.baibei.sdk;

import com.baibei.ebec.sdk.IProductApi;
import com.github.raee.runit.AndroidRUnit4ClassRunner;

import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;

/**
 * token 测试
 * Created by ChenRui on 2017/8/3 0003 10:54.
 */
@RunWith(AndroidRUnit4ClassRunner.class)
public class ProductApiTest extends SdkTest {

    private IProductApi mProductApi;

    @Override
    @Before
    public void setup() {
        super.setup();
        mProductApi = getApiProvider().getProductApi();
    }

    @Test
    public void testQueryShipment() throws Exception {
        runTest(mProductApi.queryShipment("ALL", 1));
    }
}
